<HTML>
<HEAD>
<TITLE>DefaultProjectName - Show</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">Show</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CSimpleWindow4032',this)" class="pathLink">CSimpleWindow</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">Show</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','Show2315919823','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','Show2315919823','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','Show2315919823','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 376</div>
<pre class="codeExamples">
void <a href="#" onMouseOver="link('_member','Show2315919823',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;Show&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows the window.');" onMouseOut="return nd();">OOXlib::CSimpleWindow::Show</a>()
                         {
    // Select the input events.
    // XSelectInput can generate a BadWindow error.
    ::XSelectInput(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_Window2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Window&nbsp;&nbsp;m_Window ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Window</a>, <a href="#" onMouseOver="link('_member','m_iEventMask2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;m_iEventMask ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_iEventMask</a>);
    // Map the window.
    // XMapWindow can generate a BadWindow error.
    ::XMapWindow(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_Window2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Window&nbsp;&nbsp;m_Window ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Window</a>);
    // If the window's parent is a root window, move the window to the point, that is contained in m_Rectangle structure.
    if(NULL == <a href="#" onMouseOver="link('_member','m_pParentWindow2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>IWindow *&nbsp;&nbsp;m_pParentWindow ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pParentWindow</a>) {
        // XMoveWindow can generate a BadWindow error.
        ::XMoveWindow(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_Window2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Window&nbsp;&nbsp;m_Window ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Window</a>, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetPositionX(), <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetPositionY());
    }
    // Callback method.
    <a href="#" onMouseOver="link('_member','OnShow2315919823',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;OnShow&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>OnShow handler.');" onMouseOut="return nd();">OnShow</a>();
    // Flushes the output buffer.
    ::XFlush(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get());
    // If this window is the top-level window,
    // show his children and start the event handling cycle.
    if(NULL == <a href="#" onMouseOver="link('_member','m_pParentWindow2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>IWindow *&nbsp;&nbsp;m_pParentWindow ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pParentWindow</a>) {
        int windowsCount = <a href="#" onMouseOver="link('_member','m_Windows2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::std::vector< IWindow * >&nbsp;&nbsp;m_Windows ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Windows</a>.size();
        for(int i = 0; i &lt; windowsCount; i++) {
            if(NULL != <a href="#" onMouseOver="link('_member','m_Windows2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::std::vector< IWindow * >&nbsp;&nbsp;m_Windows ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Windows</a>[i]) {
                <a href="#" onMouseOver="link('_member','m_Windows2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::std::vector< IWindow * >&nbsp;&nbsp;m_Windows ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Windows</a>[i]-&gt;Show();
            }
        }
        while(<a href="#" onMouseOver="link('_member','HandleEvents2315919823',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>bool&nbsp;&nbsp;HandleEvents&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Handles events');" onMouseOut="return nd();">HandleEvents</a>()) {}
    }
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
